﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="temaiyao.aspx.cs" Inherits="temaiyao" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style8 {
            font-size: medium;
            color: #000000;
            font-weight: bold;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <span __designer:mapid="7de" class="auto-style6"><span class="auto-style8">
    <br />
    <br />
    请输入所要查询的信息：</span></span><asp:TextBox ID="txtname" runat="server"></asp:TextBox>
&nbsp;<asp:DropDownList ID="DropDownList1" runat="server">
        <asp:ListItem Value="yaopin">药品</asp:ListItem>
        <asp:ListItem Value="geren">个人</asp:ListItem>
    </asp:DropDownList>
&nbsp;<asp:Button ID="btncha" runat="server" OnClick="btncha_Click" Text="搜索" Width="40px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    <asp:GridView ID="gvyaopin" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" GridLines="Horizontal" DataKeyNames="Y_ID" ForeColor="Black" Visible="False">
        <Columns>
            <asp:BoundField DataField="Y_NAME" HeaderText="药品名称" />
            <asp:BoundField DataField="Y_ID" HeaderText="药品编号" />
            <asp:BoundField DataField="Y_GUIGE" HeaderText="规格" />
            <asp:BoundField DataField="Y_FUNCTION" HeaderText="功能" />
            <asp:BoundField DataField="Y_TYPE" HeaderText="类型" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#242121" />
    </asp:GridView>
    <asp:GridView ID="gvhu" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="Horizontal" DataKeyNames="H_NAME" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" Visible="False">
        <Columns>
            <asp:BoundField DataField="H_ID" HeaderText="会员号" />
            <asp:BoundField DataField="H_NAME" HeaderText="姓名" />
            <asp:BoundField DataField="H_PW" HeaderText="密码" />
            <asp:BoundField DataField="H_ADDRESS" HeaderText="地址" />
            <asp:BoundField DataField="H_PHONE" HeaderText="电话" />
            <asp:BoundField DataField="H_BIRTHDAY" HeaderText="生日" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#242121" />
    </asp:GridView>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>

